package ee.maoinvest.backend.services;

import java.util.List;

import ee.maoinvest.backend.model.data.ElectricityContract;
import ee.maoinvest.backend.model.data.ElectricityContractType;

public interface ElectricityContractService 
{
	public int insertElectricityContract(ElectricityContract electricityContract);
	public ElectricityContract getElectricityContractById(int electricityContractID);
	public List<ElectricityContract> getAllElectricityContractsThatAreNotWrittenOff();
	public int updateElectricityContract(ElectricityContract electricityContract);
	public int deleteElectricityContract(int electricityContractID);
	
	public List<ElectricityContract> getAllElectricityContractsForOuterTerritoryMetersThatAreNotWrittenOff();
	public List<ElectricityContractType> getAllElectricityContractTypes();
	public List<ElectricityContract> getAllElectricityContractsForLocalTerritoryElectricityMetersThatAreNotWrittenOff();
}
